package com.itheima.day01;

public class threafDemo06 {
    public static void main(String[] args) {
        MyThread01 mt1=new MyThread01();
        MyThread02 mt2=new MyThread02();
        System.out.println(mt1.getPriority());
        mt1.setName("男神");
        mt2.setName("备胎");
        mt2.setDaemon(true);

        mt1.start();
        mt2.start();
    }
}
